package com.xuecheng.system.api;

import com.xuecheng.commons.model.vo.ResponseResult;
import com.xuecheng.commons.model.vo.UserVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient("xc-system-service")
public interface SystemClient {

    //根据id查询用户信息
    @GetMapping("/user")
    public ResponseResult<UserVo> phone();
}
